home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 76
/
XENIATGM66.iso
/
Indiana Jones
/
Indiana Jones.exe
/
RESOURCE
/
PREVIEW.GOB
/
cog_item_bosseye.cog
< prev
next >
Wrap
Text File
|
1999-11-15
|
794b
|
57 lines
# Jones 3D Cog Script
#
# item_BossEye.cog
#
# [RT]
#
# (C) 1998 LucasArts Entertainment Company LLC. All Rights Reserved
#
# ===================================================================
symbols
message touched
message taken
thing player local
int bin=78 local
end
# ===================================================================
code
touched:
player = GetSourceRef();
if (GetInv(player, bin) < GetInvMax(player, bin))
{
TakeItem(GetSenderRef(), player);
}
return;
# -------------------------------------------------------------------
taken:
player = GetSourceRef();
ChangeInv(player, bin, 1.0);
SetInvAvailable(player, bin, 1);
JonesInvItemChanged(bin);
return;
end